from pydantic import BaseModel


class Templates(BaseModel):
    # template_id: int
    template_title: str
    template_desc: str
    template_sql: str
    template_parm: dict
    template_engine_id: int


class TemplateTask(BaseModel):
    # task_id: int
    template_id: int
    task_parm: dict
    task_result: str
    task_status: str


class TemplateEngine(BaseModel):
    engine_id: int
    engine_name: str
    engine_config: dict
